package animal;

public class Emaple12_1 {
	public static void main(String[] args) {
		Rabbit rabbit;
		Tortoise tortoise;
		rabbit = new Rabbit();
		tortoise = new Tortoise();
		rabbit.setName("兔子");
		tortoise.setName("乌龟");
		rabbit.start();
		tortoise.start();
		System.out.println("兔子开跑了");
		System.out.println("乌龟开跑了");
	}
}
